package com.netty.esc.entity.send;

import com.netty.esc.entity.model.BaseDTO;
import com.netty.esc.common.enums.WSProtocolTypeEM;

/**
 * @Author: Etan96
 * @CreateDate: 2022/8/29 21:32
 * @Description:
 * 心跳实体
 */
public class PongDTO extends BaseDTO {
    private Long pongTime;

    public PongDTO(){
        this.pongTime = System.currentTimeMillis();
        this.setProtocolType(WSProtocolTypeEM.PONG_PROT.code());
    }
}
